package Controller;


import Main.*;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.stage.Stage;

import java.net.URL;
import java.sql.SQLException;
import java.util.*;


public class First_Canteen_Controller implements Initializable {
 @FXML
 private Button xiugai;
 @FXML
 private  Button fanhui;
    @Override
    public void initialize(URL location, ResourceBundle resources) {

    }
   public  void fanhui(ActionEvent event) throws  Exception{
       Stage stage = (Stage) fanhui.getScene().getWindow();
       stage.close();
       Diagram_Main adm = new Diagram_Main();
       Stage s = new Stage();
       adm.start(s);
   }
}
